
#encoding=UTF-8

from Error import *
from Building import *

class DarkElixirStorage(Building):
	def __init__(self):
		Building.__init__(self)
		self.url = "http://clashofclans.wikia.com/wiki/Dark_Elixir_Storage"
		self.number_available_dsec = """
0	0	0	0	0	0	1	1	1	1
"""
		self.level_info_desc = """
1	10,000	2,000	600,000	1 day	293	7
2	20,000	2,200	1,200,000	2 days	415	7
3	40,000	2,400	1,800,000	3 days	509	8
4	80,000	2,600	2,400,000	4 days	587	8
5	150,000	2,900	3,000,000	5 days	657	9
6	200,000	3,200	3,600,000	6 days	720	9
"""
		self._DoParse()

	def _HitPointsIndex(self):
		return 2

	def _BuildCostType(self):
		return 1 #Elixir

	def _BuildCostIndex(self):
		return 3

	def _BuildTimeIndex(self):
		return 4

	def _ExperienceGainedIndex(self):
		return 5

	def _TownHallLevelRequiredIndex(self):
		return 6

